﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="ORS.Web.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            color: #FF0000;
            font-family: 宋体, Arial, Helvetica, sans-serif;
            font-size: large;
        }
        .style2
        {
            width: 76px;
            text-align: right;
            font-weight: bold;
            font-size: large;
            height: 30px;
            border-style: solid;
            border-width: 0px;
            padding: 1px 4px;
        }
        .style4
        {
            width: 76px;
            text-align: right;
            height: 30px;
            border-style: solid;
            border-width: 0px;
            padding: 1px 4px;
        }
        .style5
        {
            height: 30px;
            text-align: center;
            }
        .style8
        {
            height: 30px;
            width: 152px;
            border-style: solid;
            border-width: 0px;
            padding: 1px 4px;
        }
        #Password1
        {
            width: 147px;
        }
        #form1
        {
            text-align: left;
        }
        .style16
        {
            height: 30px;
            text-align: center;
            border-style: solid;
            border-width: 0px;
            padding: 1px 4px;
            width: 105px;
        }
        .style17
        {
            color: #006699;
        }
        .style18
        {
            text-decoration: none;
        }
        </style>
</head>
<body style="height: 650px; margin-left: 0px; width: 100%; align: center;">

<div style="height: 100px">



</div>
    <form id="form1" runat="server" 
    
    style="background-position: center; width: 100%; height: 353px; text-align: center; background-image: url('images/Loginpotral.jpg'); background-repeat: no-repeat; color: #FF3300;">
    <div style="height: 350px" 
        align="center">
        <br />
        <br />
        <br />
        <br />
        
        <table style="width: 512px; font-family: 宋体; color: #000000; font-weight: 700; height: 69px; border-spacing: 0px; position: relative; z-index: inherit; top: 39px; left: 0px;">
<a href="UserRegester.aspx" class="style18"><span class="style17">
        <strong>新用户注册</strong></span></a></span>              
                <td class="style4">
                    用户名：</td>
                </span><span class="style1">
                <td class="style8">
                    <asp:TextBox ID="tbxuserID" runat="server" ontextchanged="TextBox1_TextChanged" 
                        Width="150px" CausesValidation="True"></asp:TextBox>
                </td>
                <td class="style16">
                    <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="管理员登录" 
                        Width="95px" />
                </td>
                <td class="style5" rowspan="0">
                    <span class="style1">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="tbxuserID" ErrorMessage="**用户名不能为空" style="text-align: left; font-size: small;" 
                        Font-Names="华文中宋" Font-Size="Medium"></asp:RequiredFieldValidator>
            </span>
                </td>
            </tr>
            <tr>
                <td class="style2">
                    密码：</td>
                <td class="style8">
                    <asp:TextBox ID="TextPassword" runat="server" 
                        ontextchanged="TextPassword_TextChanged" TextMode="Password" Width="150px"></asp:TextBox>
                </td>
                <td class="style16">
                    <asp:Button ID="Button2" runat="server" Text="用户登录" Width="95px" 
                        onclick="Button2_Click" />
                </td>
                <td class="style5" rowspan="0">
                    <span class="style1">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ControlToValidate="TextPassword" ErrorMessage="**请输入密码" Font-Size="Medium" 
                        style="font-size: small"></asp:RequiredFieldValidator>
            </span>
                </td>
            </tr>
            </table>
        <table style="width:35%; position: relative; top: 54px; left: -31px; height: 81px; text-align: left; vertical-align: middle; z-index: auto;">
            <tr>
                <td>
                    <asp:Label ID="Label1" runat="server" Text="系统内无此用户，请重新输入。"></asp:Label>
                </td>
            <tr>
                <td>
                    <asp:Label ID="Label2" runat="server" Text="密码输入有误，请重新输入。"></asp:Label>
                </td>

            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label3" runat="server" Text="该用户注册未审核，请稍后再试。"></asp:Label>
                </td>
            </tr>
        </table>
    </div>
    
    </form>
</body>
</html>
